//
//  ViewController.h
//  TourDeGarde
//
//  Created by Edenyorke on 14/12/11.
//  Copyright (c) 2011 Edenyorke. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MenuTabBarController.h"
#import "MessageUtils.h"
#import "DateUtils.h"

@interface ViewController : UIViewController {
    
    UIDatePicker *datePicker;
    UILabel *dateLabel;
    IBOutlet UILabel *appLabel;
    IBOutlet UIButton *buttonAction;
    IBOutlet UIImageView *imageView;
    IBOutlet UIBarButtonItem *buttonMenu;
    
}


@property (nonatomic, retain) IBOutlet UIDatePicker *datePicker;
@property (nonatomic, retain) IBOutlet UILabel *dateLabel;
@property (nonatomic, retain) IBOutlet MenuTabBarController *menuTabBarController;
@property (nonatomic, retain) MessageUtils *messageUtils;
@property (nonatomic, retain) DateUtils *dateUtils;



-(IBAction) getSelection;
-(IBAction) getMenu;
-(NSString *) isDateThisWeek:(NSDate *)date;
- (NSInteger) compareDate:(NSDate *)debut fin:(NSDate *) fin;
- (NSDate *) addXWeeksToDate:(NSDate *)date nbWeeks:(NSString *)nbWeeks;
- (NSDate *) addXMonthToDate:(NSDate *)date nbMonths:(NSString *)nbMonths ;
- (NSDate *) addXDaysToDate:(NSDate *)date nbDays:(NSString *)nbDays interval:(NSInteger )interval;
- (NSInteger) getNbDaysBeetweenTwoDate:(NSDate *)firstDate lastDate:(NSDate*)lastDate;
-(NSDate *) getFuturDate:(NSDate *)date periodeTypeEum:(NSString *)periodeTypeEum periodeNumber:(NSString *) periodeNumber interval:(NSInteger )interval;
- (void)initParameters;
- (void)displayImage:(NSString *) name;

@end
